﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Portal.Model
{
	/// <summary>
	/// Interface <see cref="IContactInfo"/> declare portal contact info
	/// </summary>
	public interface IContactInfo
	{
		/// <summary>
		/// Id
		/// </summary>
		int Id { get; }

		/// <summary>
		/// Gets or sets a value indicating whether [is default].
		/// </summary>
		/// <value>
		///   <c>true</c> if [is default]; otherwise, <c>false</c>.
		/// </value>
		bool IsDefault { get; set; }

		/// <summary>
		/// Gets or sets the value.
		/// </summary>
		/// <value>
		/// The value.
		/// </value>
		string Value { get; set; }

		/// <summary>
		/// Gets or sets the type.
		/// </summary>
		/// <value>
		/// The type.
		/// </value>
		ContactInfoType Type { get; set; }
	}
}
